package com.baomidou.ant.utils;

public class CheckLevelUtils {

    public static String pushLevel(Integer winning){
        //计算段位
        int i= winning/100;
        switch(i){
            case 0:
                return "青铜学者";
            case 1:
                return "青铜学士";
            case 2:
                return "青铜精英";
            case 3:
                return "白银学者";
            case 4:
                return "白银学士";
            case 5:
                return "白银精英";
            case 6:
                return "黄金学者";
            case 7:
                return "黄金学士";
            case 8:
                return "黄金精英";
            case 9:
                return "铂金学者";
            case 10:
                return "铂金学士";
            case 11:
                return "铂金精英";
            case 12:
                return "钻石学者";
            case 13:
                return "钻石学士";
            case 14:
                return "钻石精英";
            case 15:
            case 16:
                return "大师级选手";
            case 17:
            case 18:
                return "大师级精英";
            case 19:
            case 20:
                return "一代宗师";
            case 21:
            case 22:
            case 23:
            case 24:
                return "王者在世";
            //default语句
            default:
                return "至高境界";

        }
    }


}
